<style type="text/css">
td{border:none}
p{color:#F00}
</style>
<p class="bold">Add user</p>
<?php echo validation_errors(); ?>
<p style="color:#F00"><?php echo $errors; ?></p>
<form action="" method="post">
	<table width="400" border="0">
  <tr>
    <td width="146">Tên đăng nhập <span class="red">*</span></td>
    <td width="244"><input type="text" name="name" value="<?php echo set_value('name'); ?>" size="25" /></td>
  </tr>
  <tr>
    <td>Mật khẩu <span class="red">*</span></td>
    <td><input type="password" name="pass" size="25" /></td>
  </tr>
  <tr>
    <td>Nhập lại mật khẩu</td>
    <td><input type="password" name="repass" size="25" /></td>
  </tr>
  <tr>
    <td>Họ tên</td>
    <td><input type="text" name="fullname" value="<?php echo set_value('fullname'); ?>" size="25" /></td>
  </tr>
  <tr>
    <td>Giới tính</td>
    <td>
    	<select name="gender">
        	<option value="1">Nam</option>
        	<option value="0">Nữ</option>
        </select>
    </td>
  </tr>
  <tr>
    <td>Level</td>
    <td>
    	<select name="level">
        	<option value="1">Admin</option>
        	<option value="2">Member</option>
        </select>
    </td>
  </tr>
  <tr>
    <td>Số điện thoại</td>
    <td><input type="text" name="phone" value="<?php echo set_value('phone'); ?>" size="25" /></td>
  </tr>
  <tr>
    <td>Địa chỉ email <span class="red">*</span></td>
    <td><input type="text" name="email" value="<?php echo set_value('email'); ?>" size="25" /></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>
    	<input type="submit" name="submit" value="Thêm mới" />
        <input type="reset" value="Nhập lại" />
    </td>
  </tr>
  </table>

</form>